package com.gt.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gt.admin.domain.SicknessMenu;

import java.util.List;

/**
 *
 */
public interface ISicknessMenuService extends IService<SicknessMenu> {

    /**
     * 获取列表数据
     * @param sicknessMenu
     * @return
     */
    public List<SicknessMenu> selectList(SicknessMenu sicknessMenu);

    /**
     * 构建前端所需要树结构
     *
     * @param sicknessMenus 菜单列表
     * @return 树结构列表
     */
    public List<SicknessMenu> buildMenuTree(List<SicknessMenu> sicknessMenus);
}
